package day02.override;

/**
 * @author yangwenqi
 * @decs TODO
 * @date 2025/4/17
 */
public class Test {
    public static void main(String[] args) {
        Director director = new Director("王董事", "淮北市", 100000, 2000);
        director.show();
        System.out.println("---------------------------");
        Manager manager = new Manager("王经理", "淮北市", 25000, "市场部");
        manager.show();
        System.out.println("---------------------------");
        Employee employee = new Employee("张三", "淮北市", 10000);
        employee.show();
    }
}

